import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询用户列表
// export function listUser(query) {
//   return request({
//     url: '/system/user/list',
//     method: 'get',
//     params: query
//   })

// }


export class kfOperateApi {

    static getPageList(params) {
        return request({
            url: '/kf/operate/page/list',
            method: 'get',
            params: params
        })
    }

    //#- hive导数
    static dataImport(data) {
        return request({
            url: '/kf/operate/import',
            method: 'post',
            data: data
        })
    }
    static getInfoById(id) {
        return request({
            url: `/kf/getInfo/${id}`,
            method: 'get'
        })
    }

    static remove(ids) {
        return request({
            url: `/kf/operate/delete/${ids}`,
            method: 'delete',
        })
    }

    // #- 查询子任务分页列表
    static getTaskPageList(params){
        return request({
            url: '/kf/operate/task/list',
            method: 'get',
            params: params
        })

    }

}